﻿<div id="LoadingImage" style="display:none;width:100%;" title="Add New Group">
    <table width='100%' align='center'>
        <tr>
            <td align='center'><img src='/_layouts/images/gears_an.gif'/></td>
        </tr>
    </table>
</div>
<table id="UserTable" cellpadding="4" width="100%">
    <tr>
        <td colspan="3" nowrap="nowrap">
            <div id="addNewGroupForm">
                <table cellpadding="5">
                    <tr><td colspan="3"><span class="req">*</span> denotes a required field</td></tr>
                    <tr>
                        <td><label>Site Collection:</label></td>
                        <td colspan="2"><span id="spnSiteCollection"></span></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td colspan="2"><input type="checkbox" id="chkBxAllGroups" /> Create Across All Site Collections</td>
                    </tr>
                    <tr>
                        <td><label>Group Name: <span class="req">*</span></label></td>
                        <td colspan="2"><input type="text" id="txtBoxGroupName" /></td>
                    </tr>
                    <tr>
                        <td valign="top"><label>Description:</label></td>
                        <td colspan="2"><textarea style="float:left;" id="txtAreaGroupDescription" rows="8" cols="40"></textarea></td>
                    </tr>
                    <tr>
                        <td><label>Group Owner: <span class="req">*</span></label></td>
                        <td><input type="text" id="txtBoxSelectedGroupOwner" readonly="readonly" style="font-style:italic;color:gray;background-color:#E0E0D1;" /></td>
                        <td><button id="btnOpenSelectGroupOwner">Select User</button></td>
                    </tr>
                    <tr>
                        <td valign="top" style="padding-top:14px"><label>Permission Levels: <span class="req">*</span></label></td>
                        <td colspan="2"><table id="permissionLevels"><tbody></tbody></table></td>
                    </tr>
                </table>
            </div>
        </td>
    </tr>
    <tr>
        <td colspan="3" style="text-align:right;padding-top:10px;"><button id="btnCloseAddGroupDialog" type="button">Close</button> <button id="btnSaveNewGroup" type="button">Save</button></td>
    </tr>
</table>


<div id="selectGroupOwnerForm" style="display:none;width:100%;">
    <table id="groupOwnerTable" width="100%">
        <tr>
            <td>
                <div class="textFilterBox"><input type="textbox" id="filterAvailableGroupOwners" onfocus="this.value='';this.style.fontStyle='normal';"></input></div>
                <div class="listBoxContainer">
                    <select id="lstBxAvailableGroupOwners" size="20" class="listBoxStyle"></select>
                </div>
            </td>
        </tr>
        <tr>
            <td style="text-align:right;"><button id="btnAddUserAsGroupOwner">Add User</button></td>
        </tr>
    </table>
</div>